package April._19.work8;

import java.io.Serial;
import java.io.Serializable;

/**
 *
 */
public class Address implements Serializable {
    @Serial
    private static final long serialVersionUID = 3327085689709385165L;
    String detail;
    String code;


    @Override
    public String toString() {
        return "Address{" +
                "detail='" + detail + '\'' +
                ", code='" + code + '\'' +
                '}';
    }

    public Address(String detail, String code) {
        this.detail = detail;
        this.code = code;
    }
}
